package service.edu.client;
import org.springframework.stereotype.Component;
import service.edu.result.R;
import java.util.List;

@Component
//消费方调用方法失败后才会触发该类的方法
public class VodClientHystrix implements VodClient {
    @Override
    public R deleteVideoByVideoId(String videoSourceId) {
        return R.Error().message("删除视频失败");
    }

    @Override
    public R deleteVideoBatch(List<String> videoIdList) {
        return R.Error().message("删除视频失败");
    }
}
